x86: Pass through ERMS CPUID feature for HVM and PV guests
authorYang, Wei <wei.y.yang@intel.com>
Tue, 14 Jun 2011 12:13:18 +0000 (13:13 +0100)
committerYang, Wei <wei.y.yang@intel.com>
Tue, 14 Jun 2011 12:13:18 +0000 (13:13 +0100)
commitd3b35446fde62e77d97dc0c8edd9785b352f762c
tree523c60aedf4084c57db0ca2b3d5c377e66ed592e
parent4e9144664327f34764c5625734cc21d40201ebfb
x86: Pass through ERMS CPUID feature for HVM and PV guests

This patch exposes ERMS feature to HVM and PV guests.

The REP MOVSB/STOSB instruction can enhance fast strings attempts to
move as much of the data with larger size load/stores as possible.

Signed-off-by: Yang, Wei <wei.y.yang@intel.com>
tools/libxc/xc_cpufeature.h
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/traps.c
xen/include/asm-x86/cpufeature.h